package com.mask.im.business.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 好友关系表实体
 *
 * @author jian
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class IMFriendRelationVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("好友ID")
    private Long friendId;

    @ApiModelProperty("好友所属分组ID")
    private Long groupId;

    @ApiModelProperty("好友用户名")
    private String nickName;

    @ApiModelProperty("对好友的备注名")
    private String remarkName;

    @ApiModelProperty("标签（逗号分隔）")
    private String labels;

    @ApiModelProperty("好友状态：1=正常，3=黑名单")
    private Integer friendStatus;

    @ApiModelProperty("是否在线")
    private Integer isOnline;

    @ApiModelProperty("是否删除好友")
    private Boolean isDeleted;

    @ApiModelProperty("关系建立时间（申请通过时间）")
    private LocalDateTime createTime;

    @ApiModelProperty("关系更新时间")
    private LocalDateTime updateTime;
}
